************************************************************************************************ GROUP COMPARISON AT BASELINE AND FOLLOW-UP: TIME USE
**** This file generates output tables for group comparison at baseline.
**** Version: 10/03/2014********************************************************************************************
			
************************************************************************************************ TIME USE VARIABLES
********************************************************************************************

	* Create table for mean differences between treatment status for different data collection waves
						
		treattest $Time_use_m
				
			esttab  using "Outputs/Time use at baseline and follow-up (Men).tex", f replace gaps noobs nonumb width(\textwidth)  ///
			cells("m_mu_1_b(fmt(3)) m_mu_2_b(fmt(3)) m_coef_c_b(fmt(3) star pvalue(m_d_p_c_b)) m_mu_1_f(fmt(3)) m_mu_2_f(fmt(3)) m_coef_c_f(fmt(3) star pvalue(m_d_p_c_f))" ///
			"m_sd_1_b(fmt(3) par([ ])) m_sd_2_b(fmt(3) par([ ])) m_d_se_c_b(fmt(3) par) m_sd_1_f(fmt(3) par([ ])) m_sd_2_f(fmt(3) par([ ])) m_d_se_c_f(fmt(3) par)") label star(* 0.1 ** 0.05 *** 0.01) ///
			stats(N2 N3 N4 N6 N7 N8, layout("@ @ @ @ @ @") labels("Observations") fmt(0)) ///
			mgroups("\multicolumn{3}{c}{\textit{Baseline}} & \multicolumn{3}{c}{\textit{Follow-up}}",  pattern(1 0 0 1 0 0) span) ///
			collabels("HH" "Mother" "Diff" "HH" "Mother" "Diff") ///
			ti("Share of the day spent on different activities by treatment status (Men)\label{TimeMen}") ///	
			addn("\begin{minipage}[t]{0.9\textwidth}{\smaller Standard deviations in brackets, standard errors in parenthesis. \sym{***} denotes significance at 1\%, \sym{**} at 5\%, and \sym{*} at 10\%. The standard errors on the differences are estimated from running the corresponding least squares regression on treatment status allowing for the errors to be clustered at municipality level. Treatment status is equal to 1 if the transfer is made to mothers and zero otherwise.} \end{minipage}")
			
		treattest $Time_use_f
					
			esttab  using "Outputs/Time use at baseline and follow-up (Women).tex", f replace gaps noobs nonumb width(\textwidth)  ///
			cells("m_mu_1_b(fmt(3)) m_mu_2_b(fmt(3)) m_coef_c_b(fmt(3) star pvalue(m_d_p_c_b)) m_mu_1_f(fmt(3)) m_mu_2_f(fmt(3)) m_coef_c_f(fmt(3) star pvalue(m_d_p_c_f))" ///
			"m_sd_1_b(fmt(3) par([ ])) m_sd_2_b(fmt(3) par([ ])) m_d_se_c_b(fmt(3) par) m_sd_1_f(fmt(3) par([ ])) m_sd_2_f(fmt(3) par([ ])) m_d_se_c_f(fmt(3) par)") label star(* 0.1 ** 0.05 *** 0.01) ///
			stats(N2 N3 N4 N6 N7 N8, layout("@ @ @ @ @ @") labels("Observations") fmt(0)) ///
			mgroups("\multicolumn{3}{c}{\textit{Baseline}} & \multicolumn{3}{c}{\textit{Follow-up}}",  pattern(1 0 0 1 0 0) span) ///
			collabels("HH" "Mother" "Diff" "HH" "Mother" "Diff") ///
			ti("Share of the day spent on different activities by treatment status (Women)\label{TimeWomen}") ///
			addn("\begin{minipage}[t]{0.9\textwidth}{\smaller Standard deviations in brackets, standard errors in parenthesis. \sym{***} denotes significance at 1\%, \sym{**} at 5\%, and \sym{*} at 10\%. The standard errors on the differences are estimated from running the corresponding least squares regression on treatment status allowing for the errors to be clustered at municipality level. Treatment status is equal to 1 if the transfer is made to mothers and zero otherwise.} \end{minipage}")
